/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Jiang Jinxi
 * Date: 2024-08-28
 * Time: 20:31
 */
public class Demo11 {
    public static void main(String[] args) throws InterruptedException {
        Thread thread = new Thread(() -> {
            for (int i = 0; i < 100; i++) {
                System.out.println("hello");
            }

        });
        thread.start();
        System.out.println(thread.getState());
    }
}
